
// Source File Name:   RoleLinkType.java

package com.sunwayhorizo.health.hl7.vocabulary;

import com.sunwayhorizo.health.hl7.common.VersionInfo;
import com.sunwayhorizo.health.hl7.datatypes.CS;
import com.sunwayhorizo.health.hl7.datatypes.common.InternalFactory;

import java.util.Arrays;
import java.util.HashSet;
import java.util.Set;

/**
 * 
* @Title: RoleLinkType.java
* @Package com.sunwayhorizo.health.hl7.vocabulary
* @Description: RoleLinkType按照Hl7参考文档加了BACKUP，CONT，DIRAUTH，IDENT关系
* @version V1.0
* @firstAuthor jinzw
* @firstTime   2010-11-16 下午02:58:48
* @lastAuthor  jinzw
* @lastTime    2010-11-16 下午02:58:48 
* @updComment
 */
public class RoleLinkType
{

    public static final String RCS_ID = "$Header: RoleLinkType.java 1.0 2006/05/13 13:30:55 atomlins noship $";
    public static final boolean RCS_ID_RECORDED = VersionInfo.recordClassVersion("$Header: RoleLinkType.java 1.0 2006/05/13 13:30:55 atomlins noship $", "com.sunwayhorizo.health.hl7.vocabulary");
    
    //robo根据v3新增一个type
    public static CS REL;
    
    public static CS BACKUP;
    public static CS CONT;
    public static CS DIRAUTH;
    public static CS IDENT;
    public static CS INDAUTH;
    public static CS PART;
    public static CS REPL;

    private static final CS values[];
    public static final Set ALL_VALUES;

    public RoleLinkType()
    {
    }

    static 
    {
    	REL = InternalFactory.newCS("REL");
    	BACKUP = InternalFactory.newCS("BACKUP");
    	CONT = InternalFactory.newCS("CONT");
    	IDENT = InternalFactory.newCS("IDENT");
        PART = InternalFactory.newCS("PART");
        DIRAUTH = InternalFactory.newCS("DIRAUTH");
        REPL = InternalFactory.newCS("REPL");
        INDAUTH = InternalFactory.newCS("INDAUTH");
        values = (new CS[] {
        		BACKUP,CONT,IDENT,PART, DIRAUTH, REPL, INDAUTH
        });
        ALL_VALUES = new HashSet(Arrays.asList(values));
    }
}
